all: pytipc

if TIPC_PYTHON
pytipc: ../libtipc/libtipc.a
	$(PYTHON) setup.py bdist_wheel
endif

../libtipc/libtipc.a:
	$(MAKE) -C ../libtipc

clean:
	rm -rf build dist pytipc.egg-info __pycache__
